package com.bishe.bishe.Service;

import com.bishe.bishe.pojo.Types;
import com.bishe.bishe.pojo.User;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

public interface TypesService {
     List<Types> findall();
     int insert(String typeName);
     int delete(int typeId,int typeState);
     int update(Types types);
   Types findTypes(int typeId);
    Types findTypesByName(String typeName);
    PageInfo<Types> findPage(Map<String,Object> searchMap, int page, int size);/*分页查询+模糊查询*/

}
